package com.github.binarywang.demo.wx.mp.config;

import com.knuddels.jtokkit.Encodings;
import com.knuddels.jtokkit.api.EncodingRegistry;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * <p>  </p>
 *
 * @author Dap
 * @date 2023/5/22
 * @since 1.0
 */
@Configuration
public class BeanConfig {
    @Bean
    public EncodingRegistry encodingRegistry (){
        return Encodings.newDefaultEncodingRegistry();
    }
}
